package com.java8.lambda.impl;

import com.java8.lambda.bean.Employee;
import com.java8.lambda.impl.impl.MyPredicate;

public class FilterEmployeeByMoney implements MyPredicate<Employee> {
    @Override
    public boolean test(Employee employee) {
        return employee.getMoney() >= 5000;
    }
}
